package com.trainmail.trainmail.member.feign;

import com.trainmail.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author JianBinHuang
 * @date 2022/5/2 2:15
 * @ClassName CouponFeignService
 * FeignClient：需要使用远程调用的服务名(nacos上的服务名)
 */
@FeignClient("trainmail-coupon")
public interface CouponFeignService {


    /**
     * @Date: 2022/5/2 2:17
     * @Description:
     * @author: HuangJianBin
     * 这里的namespace 要写全
     */
    @RequestMapping("/coupon/coupon/member/list")
    public R memberCoupons();
}
